package uba.ing2.subite.domain;

import java.util.Date;

public class Debit extends AbstractAccountEntry {
	public Debit(Date date, Number value, String description) {
		super(date, value, description);
	}

	@Override
	public Number affectBalance(Number balance) {
		return balance.doubleValue() - value().doubleValue();
	}

}
